"let rtp=&runtimepath
"set runtimepath=~/vim
"let &runtimepath.=','.rtp.',~/vim/after'

syntax on
filetype plugin indent on

set si hlsearch is number cursorline
set relativenumber
set shiftwidth=4 tabstop=4 softtabstop=4 expandtab
set scrolloff=10
set showcmd
set wildmenu
"set listchars=tab:——,space:·,eol:↓
"set encoding=utf-8
"set spell " ]s, [s, z=

map \h :noh<CR>
map \n :set nu! nu?<CR>
map \t :set et! et?<CR>
map \l :set cul! cul?<CR>
map \p :set paste! paste?<CR>
map \c :set ignorecase! ignorecase?<CR>
map \` :set list!<CR>

map <C-h> ^
map <C-l> $
map <C-j> 10j
map <C-k> 10k

map \<space> gg=Gzz''
map \g :!ctags -R<CR>
map \R :source $MYVIMRC<CR>

" C+d, C+u

"" Plugin

" rainbow
let g:rainbow_active = 1 "0 if you want to enable it later via :RainbowToggle

" ColorTheme
set termguicolors
set bg=dark
"colorscheme molokai
"colorscheme gruvbox
"colorscheme darcula
"colorscheme one
colorscheme ayu

